To calculate what the magnetic field near a conductor is like, you can use Ampère's Law. The visual will help you to understand it.

The visual in context

Licencia de Creative Commons
Except where otherwise noted, this work is licensed under a Creative Common License